#pragma once

namespace dxroids
{
   class SpaceRock;

   class Player
   {

   public:

      Player();

      int GetScore() const;
      int GetLivesRemaining() const;

      void AddToLivesRemaining(int _n);
      void AddToScore(int _points);
      void AddToScore(SpaceRock const & _rock);
      void AddToScore(EnemyShip const & _enemy);

   private:

      int score_;
      int lives_remaining_;

   };
}

inline void dxroids::Player::AddToLivesRemaining(int _n)
{
   lives_remaining_ += _n;
}

inline int dxroids::Player::GetLivesRemaining() const
{
   return lives_remaining_;
}

inline int dxroids::Player::GetScore() const
{
   return score_;
}

inline void dxroids::Player::AddToScore(int _points)
{
   score_ += _points;
}
